package com.college.heyuhua.service.impl;

import com.college.heyuhua.dao.LoginMapper;
import com.college.heyuhua.dao.RegisterMapper;
import com.college.heyuhua.entity.UserInfo;
import com.college.heyuhua.service.IUserRegister;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * Created by 赵东坡 on 2018/12/30.
 * Time:21:42
 * 宇宙无敌赵牛逼，祈求永无bug
 */
@Service
@Component
public class UserRegisterImpl implements IUserRegister {

    @Autowired
    private RegisterMapper registerMapper;

    @Override
    public boolean registry(UserInfo userInfo) {
        return registerMapper.registry(userInfo);
    }

}
